package com.demo.testversion10

import android.util.Log
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch

/**
 * Created by zhangyuncai on 2025/1/17.
 * 描述：
 */
class MainVM : ViewModel() {
    fun test() {
        viewModelScope.launch {
            delay(5000)
            Log.e("MainVM","test")
        }
    }
}